package pers.kw.job.server.persist.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import pers.kw.job.server.persist.entity.SysJobLogDO;

public interface SysJobLogDao extends JpaRepository<SysJobLogDO, Long> {

    @Query(value = "from SysJobLogDO where yn=1 and bizCode=:bizCode")
    SysJobLogDO findByBizCode(@Param("bizCode") String bizCode);
}
